<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:mo="https://gitee.com/aun/Timo">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<style>
</style>
<body>
<div class="layui-form timo-compile">
    <form th:action="@{/business/attendanceApply/save}">
        <div class="layui-form-item">
            <label class="layui-form-label required">加班时间</label>
            <div class="layui-input-inline" style="width:350px">
                <input class="layui-input" type="text" id="time" name="time"  placeholder="请填写加班时间" >
            </div>
        </div>


        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">加班备注</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入内容" class="layui-textarea" name="remark"></textarea>
            </div>
        </div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
<script type="text/javascript" th:src="@{/js/plugins/jquery-2.2.4.min.js}"></script>
<script type="text/javascript">
    layui.use(['form','laydate'], function () {
        window.form = layui.form;
        var laydate = layui.laydate;
        laydate.render({
            'elem':'#time',
            'type':'datetime',
            'range':true
        });
    });

</script>
</body>
</html>